package com.evan.webadmin.biz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.evan.common.core.base.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author Pavel
 * @since 2024-06-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("biz_subject")
public class Subject extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "subject_id", type = IdType.AUTO)
    private Long subjectId;

    @TableField("subject_title")
    private String subjectTitle;

    @TableField("subject_score")
    private Integer subjectScore;

    @TableField("personnel_type")
    private Integer personnelType;

    @TableField("module_type")
    private Integer moduleType;

    @TableField("subject_type")
    private Integer subjectType;

    @TableField("subject_level")
    private Integer subjectLevel;

    @TableField("scene_type")
    private Integer sceneType;

    @TableField("answer")
    private String answer;

    @TableField("text_answer")
    private String textAnswer;

    @TableField("title_analysis")
    private String titleAnalysis;

    @TableField("answer_analysis")
    private String answerAnalysis;

    @TableField(exist = false)
    private List<SubjectOption> options;

    @TableField("delete_flag")
    private Long deleteFlag;
}
